<template>
  <el-form :model="form" label-width="110px" label-position="left">
    <el-form-item label="微信昵称">
      <el-input v-model="form.name" disabled size="medium" class="small-input"></el-input>
    </el-form-item>
    <el-form-item label="登陆手机">
      <el-input v-model="form.telphone" disabled size="medium" class="small-input"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="ModifyPassword">修改密码</el-button>
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  // 全局感知
  name: "MemberInfo",

  // 模板依赖
  components: {},
  filters: {},

  // 接口
  props: {},

  // 本地状态
  data () {
    return {
      form:{
        name:'Thomas',
        telphone:'13765424866'
      }
    };
  },
  computed: {},

  // 事件
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},

  // 非响应式的属性
  methods: {
    ModifyPassword(){
      this.$router.push({name:'PasswordChange'})
    }
  }
}
</script>

<style lang="less" scoped>
.small-input{
  width:280px;
}
</style>